#ifndef CLOSEDCYLINDER_H_
#define CLOSEDCYLINDER_H_

#include "base/GLStructure.h"
#include "base/GLObject.h"
#include "base/Circle.h"
#include "base/Cylinder.h"

class ClosedCylinder : public GLStructure {
private:
	float radium;
	float height;
	Circle* top;
	Circle* bottom;
	Cylinder* cylinder;

public:
	ClosedCylinder(GLuint programHandler, GLShaderConfig shaderConfig, float radium, float height);
	~ClosedCylinder();
	void updateComponents();
	void update (glm::mat4 viewMatrix, glm::mat4 modelMatrix);
	void setColor(float, float, float);
	void setTextureData(float diffuseTexture[], float dirtTexture[]);
};


#endif /* CLOSEDCYLINDER_H_ */
